ch 7 python fundamentals solutions unsolved exercise